import INotBlankId from '@/model/form/common/INotBlankId'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 通过open码获取 code
export default function forgotPasswordGetCodeByOpenApi(form: INotBlankId) {
  return $http.post<IResVO, AxiosResponse<IResVO>, INotBlankId>(
    '/forgotPassword/getCodeByOpen',
    form
  )
}
